package com.hz.ruoyifarmbase.farm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.AgrBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author 高铭月
 * @date 2025/3/5 16:14
 * @description: 种植流程类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("agr_base_process")
public class AgrBaseProcess extends AgrBaseEntity {
    @TableId(value = "process_id", type = IdType.AUTO)
    private Long processId; // 流程id
    private Long typeId; // 种植类型id
    private Long processSort; // 流程排序
    private String processName; // 流程名称
    private String details; // 流程描述
    private Long growthCycle; // 成长周期

    // 排除字段
    @TableField(exist = false)
    private String searchValue;
    @TableField(exist = false)
    private Map<String, Object> params;
}
